<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>111</title>
    <style>
        div{
            margin: 20px;
        }
    </style>
</head>
<body>
<form th:action="@{/update}" method="get" accept-charset="utf-8" th:align="center">
    <div class="container-fluid">
        <div class="row" style="display: none;">
            <span class="col-md-1 col-md-offset-1">id</span>
            <input class="col-md-4" type="text" name="id" th:value="${items.id}">
        </div>
        <div class="row">
            <span class="col-md-1 col-md-offset-1">标题</span>
            <input class="col-md-4" type="text" name="items_title" th:value="${items.items_title}">
        </div>
        <div class="row">
            <span class="col-md-1 col-md-offset-1">内容</span>
            <textarea cols="50" name="items_content" rows="10" th:text="${items.items_content}"></textarea>
        </div>
        <div class="row">
            <span class="col-md-1 col-md-offset-1">截止时间</span>
            <input class="col-md-4"  name="end_time"  th:value="${items.end_time}">
        </div>
        <div class="row">
            <span class="col-md-1 col-md-offset-1">优先级</span>
            <input class="col-md-4" type="text" name="priority_id" th:value="${items.priority_id}">(1:high 2:middle 3:low)
        </div>
        <div class="row">
            <button type="submit" class="col-md-1 col-md-offset-2">确定</button>
            <button type="cancel" class="col-md-1 ">取消</button>
        </div>
    </div>
</form>
</body>
</html>